//
//  FXCBaseModel.m
//  XinLangFeiBo
//
//  Created by dllo on 16/2/25.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "FXCBaseModel.h"

@implementation FXCBaseModel

//- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
//    if ([key isEqualToString:@"id"]) {
//        self.nId = value;
//    }
//}

- (instancetype)initWithDictionary:(NSDictionary *)dictionary{
    if ([super init]) {
        [self setValuesForKeysWithDictionary:dictionary];
    }
    return self;
}

+ (instancetype)modelWithDictionary:(NSDictionary *)dictionary{
    return [[self alloc] initWithDictionary:dictionary];
}
@end
